package pakeage01;

public class Grandfather {
    String name = "李白";
    String address = "唐朝";
    int age = 66;
    public Grandfather(){
        System.out.println("Grandfather name is "+name+"and age is "+age);
    }
     public Grandfather(String name,int age){
        this.name = name;
        this.age = age;
    }
    public int  add(int age){
        return age ;
    }
}
